<%--
  Created by IntelliJ IDEA.
  User: Administrator
  Date: 2016/2/2
  Time: 20:48
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@ taglib prefix="form" uri="http://www.springframework.org/tags/form" %>
<html>
<head>
    <title>Title</title>
</head>
<body>
    <form:form method="post" modelAttribute="user">
        username:<form:input path="username" /> <form:errors path="username" /><br>
        pass:<form:input path="password" /> <br>
        <input type="submit" value="sub" />
    </form:form>
</body>
</html>
